This is deadlock state logically illustrated as 死鎖狀態(tài)的邏輯說明如下:
The following graph presents a high level view of a deadlock state where 下圖清楚地顯示了死鎖狀態(tài),其中:
This first section creates a table that will be used to demonstrate a deadlock state and a stored procedure that will be used to print error information 第一部分創(chuàng)建用于說明死鎖狀態(tài)的表和用于打印錯(cuò)誤信息的存儲(chǔ)過程。
Because neither task can continue until a resource is available and neither resource can be released until a task continues , a deadlock state exists 因?yàn)檫@兩個(gè)任務(wù)都需要有資源可用才能繼續(xù),而這兩個(gè)資源又必須等到其中一個(gè)任務(wù)繼續(xù)才會(huì)釋放出來,所以陷入了死鎖狀態(tài)。